package org.jeecg.modules.collection.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

public class CollectionProductDTO {

    private java.lang.Integer id;
    /**产品名称，不能为空*/
    @Excel(name = "产品名称，不能为空", width = 15)
    @Schema(description = "产品名称，不能为空")
    private java.lang.String productname;
    /**产品类型*/
    @Excel(name = "产品类型", width = 15, dicCode = "product_type")
    @Dict(dicCode = "product_type")
    //  @Dict(dictTable = "sys_dict", dicCode = "product_type", dicText = "product_typename")
    @Schema(description = "产品类型")
    private java.lang.String producttype;
    /**公司ID，关联公司信息*/
    @Excel(name = "公司ID，关联公司信息", width = 15, dictTable = "jk_company", dicText = "name", dicCode = "id")
    @Dict(dictTable = "jk_company", dicText = "name", dicCode = "id")
    @Schema(description = "公司ID，关联公司信息")
    private java.lang.String companyid;
    /**图片存储路径或URL地址*/
    @Excel(name = "图片存储路径或URL地址", width = 15)
    @Schema(description = "图片存储路径或URL地址")
    private java.lang.String imageurl;
    /**视频存储路径或URL地址*/
    @Excel(name = "视频存储路径或URL地址", width = 15)
    @Schema(description = "视频存储路径或URL地址")
    private java.lang.String videourl;
    /**产品规格描述*/
    @Excel(name = "产品规格描述", width = 15)
    @Schema(description = "产品规格描述")
    private java.lang.String productspecification;
    /**产品评分，最多两位小数（如4.50）*/
    @Excel(name = "产品评分，最多两位小数（如4.50）", width = 15)
    @Schema(description = "产品评分，最多两位小数（如4.50）")
    private java.math.BigDecimal productrating;
    /**产品详细介绍*/
    @Excel(name = "产品详细介绍", width = 15)
    @Schema(description = "产品详细介绍")
    private java.lang.String productdetails;
    /**成果内容描述*/
    @Excel(name = "成果内容描述", width = 15)
    @Schema(description = "成果内容描述")
    private java.lang.String achievementcontent;
    /**产品价格，支持两位小数*/
    @Excel(name = "产品价格，支持两位小数", width = 15)
    @Schema(description = "产品价格，支持两位小数")
    private java.math.BigDecimal price;
    /**是否上架，true为已上架，false为未上架*/
    @Excel(name = "是否上架，true为已上架，false为未上架", width = 15, dicCode = "product_status")
    @Dict(dicCode = "isavailable")
    @Schema(description = "是否上架，true为已上架，false为未上架")
    private java.lang.String isavailable;

    /**相关论文ID*/
    @Excel(name = "相关论文ID", width = 15, dictTable = "jk_papers", dicText = "paper_title", dicCode = "id")
    @Dict(dictTable = "jk_papers", dicText = "paper_title", dicCode = "id")
    @Schema(description = "相关论文ID")
    private String paperid;
    /**相关专利ID*/
    @Excel(name = "相关专利ID", width = 15, dictTable = "jk_patent_info", dicText = "patent_title", dicCode = "id")
    @Dict(dictTable = "jk_patent_info", dicText = "patent_title", dicCode = "id")
    @Schema(description = "相关专利ID")
    private String patentid;
    /**创建时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @Schema(description = "创建时间")
    private java.util.Date createTime;
    /**更新时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @Schema(description = "更新时间")
    private java.util.Date updateTime;
    /**创建人*/
    @Schema(description = "创建人")
    private java.lang.String createBy;
    /**更新人*/
    @Schema(description = "更新人")
    private java.lang.String updateBy;

    @Excel(name = "轮播图状态", width = 15, dicCode = "slider_status")
    @Dict(dicCode = "slider_status")
    @Schema(description = "轮播图状态")
    private java.lang.String slider;

    /**产品型号*/
    @Excel(name = "产品型号", width = 15)
    @Schema(description = "产品型号")
    private java.lang.String productModel;
    /**版本号*/
    @Excel(name = "版本号", width = 15)
    @Schema(description = "版本号")
    private java.lang.String version;
    /**产品状态*/
    @Excel(name = "产品状态", width = 15, dicCode = "product_status")
    @Dict(dicCode = "product_status")
    @Schema(description = "产品状态")
    private java.lang.String productStatus;
    /**技术参数*/
    @Excel(name = "技术参数", width = 15)
    @Schema(description = "技术参数")
    private java.lang.String technicalSpecifications;

    /**序列号*/
    @Excel(name = "序列号", width = 15)
    @Schema(description = "序列号")
    private java.lang.String sn;


}
